import {playMode} from 'common/js/config'
import {loadSearch, loadPlay, loadFavorite} from 'common/js/cache'

const state = {
  singer: {},
  playing: false,
  fullScreen: false,
  playlist: [], //播发模式
  sequenceList: [],
  mode: playMode.sequence, //播放模式
  currentIndex: -1,
  disc: {},
  topList: {},
  // searchHistory: loadSearch(),
//   playHistory: loadPlay(),
//   favoriteList: loadFavorite()
}

export default state